﻿using SqlSugar;

namespace Api.Shared.Model
{
    public class OperationRecord
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(IsNullable = true)]
        public int Type { get; set; }

        [SugarColumn(IsNullable = true)]
        public string? Content { get; set; } = string.Empty;

        public DateTime Time { get; set; } = DateTime.Now;

        [SugarColumn(IsNullable = true)]
        public string? Operator { get; set; } = string.Empty;

        [SugarColumn(IsNullable = true)]
        public string? Comment1 { get; set; } = string.Empty;

        [SugarColumn(IsNullable = true)]
        public string? Comment2 { get; set; } = string.Empty;

        [SugarColumn(IsNullable = true)]
        public string? Comment3 { get; set; } = string.Empty;

    }
}
